package com.nbsaas.boot.merchant.rest.convert;

import com.nbsaas.boot.merchant.data.entity.MerchantLog;
import com.nbsaas.boot.merchant.api.domain.response.MerchantLogResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 商家操作日志-实体对象转化成响应对象
*/

public class MerchantLogResponseConvert  implements Converter<MerchantLogResponse,MerchantLog> {

    @Override
    public MerchantLogResponse convert(MerchantLog source) {
        MerchantLogResponse  result = new  MerchantLogResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

